﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace FrbaBus.Abm_Recorrido
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        public bool baja; 
        
        private void btnRecorridoCrear_Click(object sender, EventArgs e)
        {
            Abm_Recorrido.RecorridoCreacion1 frm = new Abm_Recorrido.RecorridoCreacion1();
            frm.ShowDialog(this);
        }

        private void btnRecorridoModificar_Click(object sender, EventArgs e)
        {
            baja = false;
            Abm_Recorrido.RecorridoModificacion1 frm = new Abm_Recorrido.RecorridoModificacion1(this);
            frm.ShowDialog(this);
        }

        private void btnRecorridoBaja_Click(object sender, EventArgs e)
        {
            baja = true;
            Abm_Recorrido.RecorridoModificacion1 frm = new Abm_Recorrido.RecorridoModificacion1(this);
            frm.ShowDialog(this);
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }


    }
}
